package com.itmk.common;

import com.itmk.utils.JDBCUtils;
import org.apache.commons.dbutils.*;

public class BaseDao {
     //操作数据库
    public QueryRunner query = new QueryRunner(JDBCUtils.getDataSource(),true);
    //开启下划线->驼峰转换所用  colloge_id ->  collogeId
    BeanProcessor bean = new GenerousBeanProcessor();
    public RowProcessor processor = new BasicRowProcessor(bean);
}
